package com.burgeon.extention.customer.monitor;


import nds.monitor.ObjectActionEvent;
import nds.monitor.extend.AbstractTriggerClass;
import nds.monitor.extend.TriggerClassResponse;
import org.springframework.stereotype.Component;

/**
 * 示例监控器程序
 */
@Component
public class DemoMonitorClass extends AbstractTriggerClass {
    @Override
    public TriggerClassResponse onAction(ObjectActionEvent objectActionEvent) {
        System.out.println("触发监控器==="+objectActionEvent);
        return TriggerClassResponse.success();
    }
}
